package com.bjpowernode.service;

import com.bjpowernode.entity.TClue;
import com.bjpowernode.query.ClueQuery;
import com.github.pagehelper.PageInfo;
import jakarta.validation.Valid;

import java.io.InputStream;
import java.util.List;

public interface ClueService {
    PageInfo<TClue> getClueByPage(Integer current);

    TClue getClueById(Integer id);

    int addClue(@Valid ClueQuery clueQuery);

    int editClue(@Valid ClueQuery clueQuery);

    int deleteClue(Integer id);

    int deleteClues(List<String> list);

    void importExcel(InputStream inputStream);
}
